package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      分润规则信息表
 * </desc>
 *
 * @createDate 2019/05/20
 */
@ItlTables("share_profit_rule_info")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ShareProfitRuleInfoPO extends BasePO implements Serializable {

    @ItlField(value = "rule_id",logicKey = "key")
    private String ruleId;              // 规则id
    @ItlField("rule_name")
    private String ruleName;            // 规则名称
    @ItlField("type")
    private Integer type;               // 分润住户类别，1全部 2限欠费名单
    @ItlField("profit_percent")
    private String profitPercent;       // 分润基础比例
    @ItlField("property_percent")
    private String propertyPercent;     // 物业占比
    @ItlField("platform_percent")
    private String platformPercent;     // 平台占比
    @ItlField("create_user_id")
    private String createUserId;       // 运营用户操作人id
    @ItlField("operate_user_id")
    private String operateUserId;       // 运营用户操作人id

}
